#-------------------------------------------------
#
# Project created by QtCreator 2013-08-11T12:30:52
#
#-------------------------------------------------

QT       -= gui
QT       += serialport

TEMPLATE = lib
CONFIG   += c++11
DESTDIR  = ../sleeper/lib

UI_DIR  = build
RCC_DIR = build

CONFIG(debug, debug|release) {
    TARGET = gsmcommd

    OBJECTS_DIR = build/debug
    MOC_DIR     = build/debug

}
else {
    TARGET = gsmcomm

    OBJECTS_DIR = build/release
    MOC_DIR     = build/release
}


DEFINES += GSMCOMM_LIBRARY

INCLUDEPATH += src
HEADERS += \
    src/gsmcomm_global.hpp \
    src/qatchat.h \
    src/qatchat_p.h \
    src/qatchatscript.h \
    src/qatresult.h \
    src/qatresultparser.h \
    src/qatutils.h \
    src/qgsmcodec.h \
    src/qprefixmatcher_p.h \
    src/qretryatchat.h

SOURCES += \
    src/qatchat.cpp \
    src/qatchatscript.cpp \
    src/qatresult.cpp \
    src/qatresultparser.cpp \
    src/qatutils.cpp \
    src/qgsmcodec.cpp \
    src/qprefixmatcher.cpp \
    src/qretryatchat.cpp

unix:!symbian {
    maemo5 {
        target.path = /opt/usr/lib
    } else {
        target.path = /usr/lib
    }
    INSTALLS += target
}

